package com.example.sysao.service;

import com.example.sysao.pejo.Door;

import java.util.List;

public interface DoorService {
    List<Door> findAll();

    List<Door> findByName(String name);

    Door findByname(String name);

    List<Door> findAllDoors();

    boolean addDoor(Door door);

    boolean saveDoor(Door door);

}
